# 尝试加redis互斥锁，实现解决缓存击穿
from utils.redis import Redis

with open('lua_script/unLock.lua', 'r', encoding='utf-8') as file:
    lua_srcipt = file.read()
    print(lua_srcipt)
print(Redis.register_script(lua_srcipt, keys=['test'], args=['test']))
